
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>所属导购人员档案管理</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">


    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
   
    </style>

</head>

<body class="white-bg x_sorll" style="padding: 3px;">
    <div class="page-heade">
       <h2 class="title_color text-center">所属导购人员档案管理</h2>
    </div>
    <form action="" class="form-inline" id="form1">
        <table class="table table-bordered bud_hei">
            <tr>
                <td colspan="6"><a href="{:url('Other/addguiden')}" class="btn btn-sm btn-primary" id="addstaffnj">添加导购职员</a><span class="lr_5"></span><a href="{:url('Other/lendguidendangan')}" class="btn btn-sm btn-info J_menuItem">导入导购人员档案</a></td>
            </tr>
            <tr>
              <td>姓名：</td>
              <td><input type="text" class="form-control" name="" id=""></td>
              <td>网点名称：</td>
              <td><input type="text" class="form-control" name="" id=""></td>
              <td>目前状态：</td>
              <td>
                <select name="" id="" class="form-control select">
                    <option value="0">请选择</option>
                    <option value="1">试用</option>
                    <option value="2">在职</option>
                    <option value="3">离职</option>
                </select>
              </td>
            </tr>
            <tr>
               <td>网点所属分区：</td>
               <td><input type="text" class="form-control" name="" id=""></td>
               <td>网点所属省份：</td>
               <td><input type="text" class="form-control" name="" id=""></td>
               <td>网点所属城市：</td>
               <td><input type="text" class="form-control" name="" id=""></td>
            </tr>
            <tr>
               <td>网点负责人：</td>
               <td><input type="text" class="form-control" name="" id=""></td>
               <td colspan="4"></td>
            </tr>
            <tr>
                <td class="text-center" colspan="6">
                <button class="btn-sm btn-info btn">查询</button><span class="lr_5"></span><button class="btn-sm btn-info btn" type="reset" id="reset">清空查询条件</button><span class="lr_5"></span><a href="javascript:;" class="btn btn-info btn-sm">导出导入Excel</a><span class="lr_5"></span><a href="javascript:;" class="btn btn-sm btn-info">导出完整版Excel</a>
              </td>
            </tr>
        </table>
</form>
    <table class="table table-striped table-bordered table-hover bud_hei text-center">
        <tr class="info">
            <th class="text-center">No.</th>
            <th class="text-center">姓名</th>
            <th class="text-center">网点所属分区</th>
            <th class="text-center">网点所属省份</th>
            <th class="text-center">网点所属城市</th>
            <th class="text-center">系统名称</th>
            <th class="text-center">网点名称</th>
            <th class="text-center">网点负责人</th>
            <th class="text-center">联系方式</th>
            <th class="text-center" >通讯地址</th>
            <th class="text-center">身份证号码</th>
            <th class="text-center">户籍地址</th>
            <th class="text-center">目前状态</th>
            <th class="text-center">离职生效日</th>
            <th class="text-center">巡检次数</th>
            <th class="text-center">备注</th>
            <th class="text-center">维护</th>
        </tr>
        <tbody style="border: 0">
            <tr>
                <td>1</td>
                <td><a href="javascript:;">张三3333</a></td>
                <td>华南大区</td>
                <td>广东省</td>
                <td>广州市</td>
                <td>大和味顺德系统</td>
                <td>扁滘容山商场</td>
                <td>何跃 姚鑫喜,张晓明</td>
                <td>33312212</td>
                <td style="width: 130px !important;word-wrap:break-word !important;white-space: normal">福建省福州市鼓楼区江南大道北123号</td>
                <td>410402199406075761</td>
                <td style="width: 130px !important;word-wrap:break-word !important;white-space: normal"></td>
                <td>试用</td>
                <td></td>
                <td></td>
                <td></td>
                <td><a href="javascript:;">修改</a></td>
            </tr>
    </tbody>
    </table>
    <h5 class="text-center"  style="font-size: 13px;font-weight: 500">
                    总共有12条记录，第1/2页,当前页<input id="page" type="text"  style="width: 40px" value="1"/><span id="gopage">Go</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp;
                    每页显示
                    <select id="pagesize">
                        <option value='10' selected>10条</option>
                        <option value='15'>15条</option>
                        <option value='20'>20条</option>

                    </select>
                </h5>

<div id="addtrainplanDiv" class="ibox-content" style="display: none">
    <form action="" class="form-inline" id="form2">
        <table class="table table-bordered text-center">
            <tr>
                <td style="width: 140px">薪资级别名称<span class="colorRed">*</span></td>
                <td class="text-left"><input type="text" class="form-control" id="" name=""></td>
            </tr>
            <tr>
                <td>基本工资(元/月)<span class="colorRed">*</span></td>
                <td class="text-left"><input type="text" class="form-control" id="" name=""></td>
            </tr>
            <tr>
                <td>所属城市类别<span class="colorRed">*</span></td>
                <td class="text-left">
                  <select name="" id="" class="form-control select">
                    <option value="0">请选择城市类别</option>
                    <option value="1">一类城市</option>
                    <option value="2">二类城市</option>
                    <option value="3">测试</option>
                  </select>
                </td>
            </tr>
        </table>
        <div class="padding-10 text-center">
            <button class="btn btn-primary" type="submit">提交</button><span class="lr_5"></span><button type="button" id="reset1" class="btn btn-info">重置</button><span class="lr_5"></span><button class="btn btn-warning" type="button" id="fanhui">返回</button>
        </div>
    </form>
</div>
<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
 <!-- <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script> -->
 <script src="__STATIC__/layout/js/plugins/suggest/bootstrap-suggest.min.js"></script>

  <script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })
    })
</script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script>
    
 $("#addstaffnj").click(function(){
     layer.open({
                           type: 1,
                           title: '新增职员年假',
                           area: ['900px', '600px'],
                           fixed: false, //不固定
                           maxmin: true,
                           content: $('#addtrainplanDiv')
                        /*   yes: function (i, o) {
                               var param = $('#form1').serialize()
                           $.post('/index/workflowdb/ysfy_cg.html', param, function (data) {
                               if (data.success) {
                                   swal({title: data.msg}, function () {
                                       layer.close(i)
                                       location.reload()
                                   })
                               } else {
                                   swal(data.msg)
                               }
                           }, 'json')
                       }
*/
                    });


 })
/*职员年假重新计算*/
$("#staffnjcount").click(function(){
    swal({ 
          title: "", 
          text: "确定重新计算年假，将所有年假已支取天数将归零吗？", 
          type: "warning",
          showCancelButton: true, 
          confirmButtonColor: "#DD6B55",
          confirmButtonText: "确定！", 
          closeOnConfirm: false
      },
      function(){
        swal("", "", "success"); 
      });
})
  $(document).ready(function () {
        $('#reset').on('click',function () {
            $("#form1 input").each(function(){
                $(this).val('');
            });
            $("#form1 select").each(function(){
                $(this).val('');
            });
            $('#form1').submit()
            return false
        })

         $('#reset1').on('click',function () {
            $("#form2 input").each(function(){
                $(this).val('');
            });
            $("#form2 select").each(function(){
                $(this).val('');
            });
         
            return false
        })
    })   

/*返回*/
    $('#fanhui').on('click',function () {
                   // parent.layer.close(parent.layer.getFrameIndex(window.name))
                   location.reload();
                    return false
                })
/*修改*/
$(document).on("click",".modify",function(){
    layer.open({
                           type: 1,
                           title: '修改职员年假',
                           area: ['900px', '600px'],
                           fixed: false, //不固定
                           maxmin: true,
                           content: $('#addtrainplanDiv')
                        /*   yes: function (i, o) {
                               var param = $('#form1').serialize()
                           $.post('/index/workflowdb/ysfy_cg.html', param, function (data) {
                               if (data.success) {
                                   swal({title: data.msg}, function () {
                                       layer.close(i)
                                       location.reload()
                                   })
                               } else {
                                   swal(data.msg)
                               }
                           }, 'json')
                       }
*/
                    });

})
/*删除*/

      $(document).on("click",".delthis",function(){
      swal({ 
          title: "确定此操作吗？", 
          text: "", 
          type: "warning",
          showCancelButton: true, 
          confirmButtonColor: "#DD6B55",
          confirmButtonText: "确定！", 
          closeOnConfirm: false
      },
      function(){
        swal("", "", "success"); 
      });
})

</script>
</body>

</html>